<div id="main"><!-- this encompasses the entire Web site -->
  <div class="bg-content">
    <div class="bg">
      <div class="container">
        <header id="header">
          <div class="container_24 clearfix">
            <div class="grid_24">
              <div class="logo"> <a href="/" id="logo"><img src="<?=$FullUrl?>/<?=CST_IMAGES?>/logo.png" alt="Cách Chăm Sóc Da" title="Cách Chăm Sóc Da"></a>
                <p class="tagline"></p>
              </div>
              <?php Template::UserControlTPL('Categories'); ?>
              
              <!--.primary-->
              <div id="widget-header"> 
                <!-- Wigitized Header --> </div>
              <!--#widget-header--> 
            </div>
          </div>
          <!--.container_24--> 
        </header>
        <?
        if($do == 'main')
		{
			Template::UserControlTPL('SliderMain');
		}
		?>
        <div class="hr-main"></div>
       
        <?
  		//echo $do;
		$filename = './kam/modules/'.$do.'/site/'.$tpl.'.php';
		//echo $filename;
		
		if(file_exists($filename)) 
			include($filename); 
		else
			print('This page is not available tpl');
    ?>
        
        <!--.container_24-->
        <? Template::UserControlTPL('IntroSlider');?>
       
      </div>
      <!--.container--> 
		<?
        	include('footer.php');
        ?>
    </div>
  </div>
</div>
<? Template::UserControlTPL('ShareLeft'); ?>
